<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    div {
      border: 5px solid;
      width: 800px;
      height: 600px;
    }

    p {
      border: solid;
      font-size: 40px;
      width: 400px;
      /* margin: 0; */
      
      margin-left: auto;
      /* margin-right: auto; */
    }
  </style>
</head>

<body>

  <div>

    <p>
      这几天心里颇不宁静。
    </p>
  </div>

</body>

</html>